package com.xinhe.web.enums;
public enum EDateType implements IEnumConfig {
    PRE_TODAY("今天以前"), TODAY("当天"), YESTERDAY("昨天"), THREE_DAY("近三天"),
    CURRENT_WEEK("本周"), NEAR_WEEK("近一周"),
    CURRENT_MONTH("本月"), LAST_MONTH("上个月"), NEAR_MONTH("近一个月"), THREE_MONTH("近三个月"),
    CURRENT_QUARTER("本季度"), LAST_QUARTER("上季度"), HALF_YEAR("近半年"),
    CURRENT_YEAR("今年"), LAST_YEAR("上一年");

    private String label;

    EDateType(String label) {
        this.label = label;
    }

    public String getLabel() {
        return this.label;
    }

    public String getName() {
        return name();
    }

    public String getGroup() {
        return getClass().getSimpleName();
    }
}